import { useState } from 'react'
import routes from "./router/index";
import { useRoutes} from "react-router-dom";
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'

function App() {
  const routerView = useRoutes(routes);
  return (
    <div className="App">

      {routerView}
    </div>
  )
}

export default App
